%option noyywrap 

%{ 
#include "stdio.h" 
%} 

%% 
[\n] ; 
[0-9]+ printf("Interger: %s \n",yytext); 
[0-9]*\.[0-9]+ printf("Float: %s\n",yytext); 
[a-zA-Z][a-zA-Z0-9]* printf("Word:%s\n",yytext); 
. printf("Other symbol:%c\n",yytext[0]); 
%% 